import {createRouter, createWebHashHistory} from 'vue-router'
import Preview from '@/views/Preview.vue'
import App from "@/App.vue";

const routes = [
  {
    path: '/',
    component: App,
//    redirect: '/preview',
  },
  {path: '/preview', component: Preview}
]

export const router = createRouter({
  history: createWebHashHistory(),
  routes
})
